<?php

  include('restConfig.php');

  /**
  * PEAR settings.. 
  */
  $config['common']['pear'] == TRUE ? define('PEAR_LIB','') : define('PEAR_LIB','easyrest/pear/');  
  

  //set_include_path(get_include_path() . PATH_SEPARATOR . PEAR_LIB);
  
  
  /**
  * Easyrest_exception class
  * Main exception file
  * @version 1.0
  */
  Class Easyrest_Exception extends Exception 
  {
        function __toString() { return $this->getMessage()." Line:".$this->getLine(); }
  }
  

?>
